<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/filecommint}" method="post" enctype="multipart/form-data">
    <div>文件名:<input type="file" name="file"></div>
    <div><input type="submit" value="提交"></div>
</form>
</body>
</html>